package com.yx.cloud.view;

import android.content.Context;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;

import com.google.android.material.bottomsheet.BottomSheetDialog;
import com.yx.cloud.R;

public class MusicSettingView extends BottomSheetDialog {
    private static final String TAG = "MusicSettingView";
    private Context context;
    private BottomSheetDialog dialog;

    /**
     * 基本样式
     *
     * @param context
     */
    public MusicSettingView(Context context) {
        super(context, R.style.bottom_sheet_dialog);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.music_setting_view);

        Window window = getWindow();
        window.getDecorView().setPadding(0, 0, 0, 0);
        WindowManager.LayoutParams layoutParams = window.getAttributes();
        layoutParams.width = WindowManager.LayoutParams.MATCH_PARENT;
        layoutParams.horizontalMargin = 0;
        window.setAttributes(layoutParams);
        showBottomDialog();

    }

    private void showBottomDialog() {

    }
}
